package pers.qianyu.global;

import org.springframework.scheduling.annotation.*;
import org.springframework.stereotype.*;

@Component
public class ScheduledTasks {
    @Scheduled(cron = "0/5 * * * * ?")
    public void execute() {
        System.out.println("定时任务");
    }
}
